import { forwardRef } from "react";

export default forwardRef(function Child(props, ref) {
  return (
    <div>
      <p>child</p>
      <button ref={ref}>按钮</button>
    </div>
  );
});
